package com.lehecai.core.search.entity.member;

import com.lehecai.core.api.user.RechargeLog;
import com.lehecai.core.lottery.*;
import com.lehecai.core.search.entity.AbstractSearchEntity;
import com.lehecai.core.search.type.SearchEntityKey;

import java.util.Date;

/**
 * @author He Wang
 * 搜索服务充值实体
 */
public class RecordRechargeSearch extends AbstractSearchEntity<RechargeLog> {

	private static final long serialVersionUID = -2130646490231530058L;

    private String id;			//充值编号
    private Long uid;           //用户id

    private Double amount;				//充值金额
    private Double payAmount;           //到账金额
    private RechargeType rechargeType;  //充值类型
    private BankType bankType;			//银行
    private WalletType walletType;		//钱包类型
    private RechargeStatus rechargeStatus;	//充值状态

    private Date createdTime;			//发起充值时间
    private Date successTime;			//充值成功时间

	@Override
	public SearchEntityKey getEntityKey()
	{
		return SearchEntityKey.RECORD_RECHARGE;
	}

    @Override
    public String getId() {
        return this.id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public Double getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(Double payAmount) {
        this.payAmount = payAmount;
    }

    public RechargeType getRechargeType() {
        return rechargeType;
    }

    public void setRechargeType(RechargeType rechargeType) {
        this.rechargeType = rechargeType;
    }

    public BankType getBankType() {
        return bankType;
    }

    public void setBankType(BankType bankType) {
        this.bankType = bankType;
    }

    public WalletType getWalletType() {
        return walletType;
    }

    public void setWalletType(WalletType walletType) {
        this.walletType = walletType;
    }

    public RechargeStatus getRechargeStatus() {
        return rechargeStatus;
    }

    public void setRechargeStatus(RechargeStatus rechargeStatus) {
        this.rechargeStatus = rechargeStatus;
    }

    public Date getSuccessTime() {
        return successTime;
    }

    public void setSuccessTime(Date successTime) {
        this.successTime = successTime;
    }

}
